package com.qf.test01.service.proxy;

import com.qf.test01.service.FangDong;

public class RepairStaticProxy implements FangDong {
    private FangDongStaticProxy fangDongStaticProxy;

    public FangDongStaticProxy getFangDongStaticProxy() {
        return fangDongStaticProxy;
    }

    public void setFangDongStaticProxy(FangDongStaticProxy fangDongStaticProxy) {
        this.fangDongStaticProxy = fangDongStaticProxy;
    }

    @Override
    public void rentHouse() {
        fangDongStaticProxy.rentHouse();
        System.out.println("维修");
        System.out.println("升级");
    }
}
